/*
 * File:   FileIO.h
 * Author: davidfirestone
 *
 * Created on April 20, 2011, 4:42 PM
 */

#ifndef FILEIO_H
#define	FILEIO_H

class FileIO {
private:
    static FILE * rFile;
    static FILE * wFile;
public:
    FileIO();
    FileIO(std::string);
    static void ChangeFile(std::string Filename);
    static void Write(char input);
    static void Write(int input);
    static void Write(std::string input);
    static void CreateOutputFile(std::string output);
    std::vector<char> read();
    static std::vector<std::string> readFolder(std::string location);


    ~FileIO() {
        fclose(rFile);
        fclose(wFile);
    }
};

#endif	/* FILEIO_H */

